package mygang.service.manager;

import java.util.List;
import mygang.dao.manager.NewsDAO;
import mygang.model.news.NewsItem;
import mygang.service.AbstractService;
import org.springframework.stereotype.Service;

/**
 *
 * @author eugene
 */
@Service("newsService")
public class NewsServiceImpl<D extends NewsDAO> extends AbstractService<D> implements NewsService {
    
    public List<NewsItem> getNews() {
        return getDao().getNews();
    }
}
